]> git.pld-linux.org Git - packages/xfce4-timer-plugin.git/commitdiff
- really port to libxfce4ui
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 17 May 2012 21:32:55 +0000 (21:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xfce4-timer-plugin-libxfce4ui.patch -> 1.2

xfce4-timer-plugin-libxfce4ui.patch

index b20d4ab0b0f4070c12185bc15a7ebcbf7ee4e580..b232090ed6ff88c374e79b6b24a3dc5698839045 100644 (file)
        @LIBXFCE4UTIL_CFLAGS@ \
        @LIBXFCE4PANEL_CFLAGS@ \
        -DPACKAGE_LOCALE_DIR=\"$(localedir)\"
+--- xfce4-timer-plugin-0.6.4/src/xfcetimer.c.orig      2012-05-17 23:27:50.106931152 +0200
++++ xfce4-timer-plugin-0.6.4/src/xfcetimer.c   2012-05-17 23:32:20.133588295 +0200
+@@ -1395,7 +1395,7 @@
+   xfce_panel_plugin_block_menu (plugin);
+-  dlg = gtk_dialog_new_with_buttons (_("Xfce 4 Timer Plugin"),
++  dlg = xfce_titled_dialog_new_with_buttons (_("Xfce 4 Timer Plugin"),
+               GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
+               GTK_DIALOG_DESTROY_WITH_PARENT |
+               GTK_DIALOG_NO_SEPARATOR,
+@@ -1407,12 +1407,7 @@
+   gtk_container_set_border_width (GTK_CONTAINER(dlg), BORDER);
+-  header = xfce_create_header (NULL, _("Xfce4 Timer Options"));
+-  gtk_widget_set_size_request (GTK_BIN (header)->child, 200, 32);
+-  //gtk_container_set_border_width (GTK_CONTAINER (header), 6);
+-  gtk_widget_show (header);
+-  gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dlg)->vbox), header,
+-                      FALSE, TRUE, 0);
++  xfce_titled_dialog_set_subtitle (XFCE_TITLED_DIALOG(dlg), _("Xfce4 Timer Options"));
+   gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dlg)->vbox), vbox,
+                       TRUE, TRUE, WIDGET_SPACING);
This page took 0.041426 seconds and 4 git commands to generate.