[Xfce4-commits] <xfce4-weather-plugin:master> Add mnemonics to notebook pages in summary window.

Harald Judt noreply at xfce.org
Fri Jul 13 16:50:29 CEST 2012


Updating branch refs/heads/master
         to 33f29c400130d190e6fd72d3e746dd1a85c75cdd (commit)
       from c9999de4802c3d15c9ca9a19ece14859d1403d5f (commit)

commit 33f29c400130d190e6fd72d3e746dd1a85c75cdd
Author: Harald Judt <h.judt at gmx.at>
Date:   Fri Jul 13 16:37:41 2012 +0200

    Add mnemonics to notebook pages in summary window.

 panel-plugin/weather-summary.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index 0f5a841..266516c 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -635,10 +635,10 @@ create_summary_window (xfceweather_data *data)
     gtk_container_set_border_width (GTK_CONTAINER (notebook), BORDER);
     gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
                               create_forecast_tab (data, window),
-                              gtk_label_new (_("Forecast")));
+                              gtk_label_new_with_mnemonic (_("_Forecast")));
     gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
                               create_summary_tab (data),
-                              gtk_label_new (_("Details")));
+                              gtk_label_new_with_mnemonic (_("_Details")));
 
     gtk_box_pack_start (GTK_BOX (vbox), notebook, TRUE, TRUE, 0);
   }


More information about the Xfce4-commits mailing list