~ubuntu-branches/ubuntu/wily/xfce4-panel/wily

« back to all changes in this revision

Viewing changes to libxfce4panel/xfce-panel-convenience.c

  • Committer: Package Import Robot
  • Author(s): Unit 193, Unit 193, Lionel Le Folgoc
  • Date: 2014-02-12 15:41:39 UTC
  • mfrom: (1.1.36)
  • Revision ID: package-import@ubuntu.com-20140212154139-j4cm4hlso68qadjw
Tags: 4.11.0~0.git20140209.86a1b73-0ubuntu1
[ Unit 193 ]
* New git snapshot. (LP: #1238997)
* debian/patches:
  - 02_potfiles-fix-ftbfs.patch: added, add missing files to po/POTFILES.in.
* debian/control: add b-dep on newer garcon.

[ Lionel Le Folgoc ]
* debian/patches:
  - xubuntu_add-calendar-popup-to-clock-plugin.patch: dropped, included.
  - series: refreshed.
* debian/xfce4-panel.install: include both (gtk2 and gtk3) wrappers.
* debian/rules: pass --enable-gtk3 --disable-silent-rules to configure script.
* debian/control: add b-dep on libgtk-3-dev.
* debian/xfce4-panel.shlibs: updated for the gtk3 library.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
{
58
58
  GtkWidget *button = gtk_button_new ();
59
59
 
60
 
  GTK_WIDGET_UNSET_FLAGS (button, GTK_CAN_DEFAULT | GTK_CAN_FOCUS);
 
60
  gtk_widget_set_can_default (GTK_WIDGET (button), FALSE);
 
61
  gtk_widget_set_can_focus (GTK_WIDGET (button), FALSE);
61
62
  gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
62
63
  gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
63
64
  gtk_widget_set_name (button, "xfce-panel-button");
80
81
{
81
82
  GtkWidget *button = gtk_toggle_button_new ();
82
83
 
83
 
  GTK_WIDGET_UNSET_FLAGS (button, GTK_CAN_DEFAULT | GTK_CAN_FOCUS);
 
84
  gtk_widget_set_can_default (GTK_WIDGET (button), FALSE);
 
85
  gtk_widget_set_can_focus (GTK_WIDGET (button), FALSE);
84
86
  gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
85
87
  gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
86
88
  gtk_widget_set_name (button, "xfce-panel-toggle-button");