[Xfce4-commits] <xfce4-notifyd:master> Remove the option from the settings dialog.
Jérôme Guelfucci
noreply at xfce.org
Tue Dec 21 17:00:02 CET 2010
Updating branch refs/heads/master
to ee52401ae610726a007b4b0712907a392d043110 (commit)
from d4265988c27b3993a80e287868a0c2773fd48bf6 (commit)
commit ee52401ae610726a007b4b0712907a392d043110
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Mon Dec 20 19:28:29 2010 +0100
Remove the option from the settings dialog.
xfce4-notifyd-config/main.c | 6 +---
xfce4-notifyd-config/xfce4-notifyd-config.glade | 33 +----------------------
2 files changed, 2 insertions(+), 37 deletions(-)
diff --git a/xfce4-notifyd-config/main.c b/xfce4-notifyd-config/main.c
index 47b3aec..1f3d64e 100644
--- a/xfce4-notifyd-config/main.c
+++ b/xfce4-notifyd-config/main.c
@@ -233,7 +233,7 @@ static GtkWidget *
xfce4_notifyd_config_setup_dialog(GtkBuilder *builder)
{
XfconfChannel *channel;
- GtkWidget *dlg, *btn, *sbtn, *slider, *chk, *treeview, *combo;
+ GtkWidget *dlg, *btn, *sbtn, *slider, *treeview, *combo;
GtkAdjustment *adj;
GtkTreeSelection *sel;
GError *error = NULL;
@@ -276,10 +276,6 @@ xfce4_notifyd_config_setup_dialog(GtkBuilder *builder)
xfconf_g_property_bind(channel, "/initial-opacity", G_TYPE_DOUBLE,
G_OBJECT(adj), "value");
- chk = GTK_WIDGET(gtk_builder_get_object(builder, "fade_transparency_chk"));
- xfconf_g_property_bind(channel, "/fade-transparency", G_TYPE_BOOLEAN,
- G_OBJECT(chk), "active");
-
treeview = GTK_WIDGET(gtk_builder_get_object(builder, "themes_treeview"));
current_theme = xfconf_channel_get_string(channel, "/theme", "Default");
xfce4_notifyd_config_setup_treeview(treeview, current_theme);
diff --git a/xfce4-notifyd-config/xfce4-notifyd-config.glade b/xfce4-notifyd-config/xfce4-notifyd-config.glade
index a96d22b..0fedf2a 100644
--- a/xfce4-notifyd-config/xfce4-notifyd-config.glade
+++ b/xfce4-notifyd-config/xfce4-notifyd-config.glade
@@ -42,7 +42,6 @@
<property name="window_position">center-on-parent</property>
<property name="icon_name">xfce4-notifyd</property>
<property name="type_hint">dialog</property>
- <property name="has_separator">False</property>
<property name="subtitle" translatable="yes">Customize how notifications appear on your screen</property>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox1">
@@ -76,7 +75,7 @@
<child>
<object class="GtkTable" id="table1">
<property name="visible">True</property>
- <property name="n_rows">4</property>
+ <property name="n_rows">3</property>
<property name="n_columns">2</property>
<property name="column_spacing">10</property>
<property name="row_spacing">10</property>
@@ -192,36 +191,6 @@
<property name="bottom_attach">3</property>
</packing>
</child>
- <child>
- <object class="GtkCheckButton" id="fade_transparency_chk">
- <property name="label" translatable="yes">_Fade to transparent</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="xalign">0</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label5">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">_Effect:</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- </packing>
- </child>
</object>
<packing>
<property name="position">1</property>
More information about the Xfce4-commits
mailing list