[Xfce4-commits] <xfce4-weather-plugin:master> Remove info button from summary window.
Harald Judt
noreply at xfce.org
Mon Nov 12 22:14:02 CET 2012
Updating branch refs/heads/master
to 9fbab701e668b1e5a019667c29395d72054ede16 (commit)
from 0ad2cf80cb428b390c54799cb9027b8599d64daf (commit)
commit 9fbab701e668b1e5a019667c29395d72054ede16
Author: Harald Judt <h.judt at gmx.at>
Date: Mon Nov 12 21:59:07 2012 +0100
Remove info button from summary window.
Plugin website and more can now be called via the "About" dialog.
panel-plugin/weather-summary.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index 549e5fa..7224e23 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -741,9 +741,6 @@ summary_dialog_response(const GtkWidget *dlg,
{
if (response == GTK_RESPONSE_ACCEPT)
gtk_widget_destroy(window);
- else if (response == GTK_RESPONSE_HELP)
- g_spawn_command_line_async ("exo-open --launch WebBrowser "
- PLUGIN_WEBSITE, NULL);
}
@@ -758,8 +755,6 @@ create_summary_window (xfceweather_data *data)
window = xfce_titled_dialog_new_with_buttons(_("Weather Update"),
NULL,
GTK_DIALOG_NO_SEPARATOR,
- GTK_STOCK_ABOUT,
- GTK_RESPONSE_HELP,
GTK_STOCK_CLOSE,
GTK_RESPONSE_ACCEPT, NULL);
if (data->location_name != NULL) {
More information about the Xfce4-commits
mailing list