[gnome-utils] Misc gtk3 fixups
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] Misc gtk3 fixups
- Date: Wed, 20 Oct 2010 21:19:01 +0000 (UTC)
commit 77a28eb233f05116498c420f88429ad80622c2ee
Author: Paolo Borelli <pborelli gnome org>
Date: Wed Oct 20 23:13:46 2010 +0200
Misc gtk3 fixups
gnome-screenshot/gnome-screenshot.c | 3 +--
gnome-screenshot/gnome-screenshot.ui | 1 -
gnome-screenshot/screenshot-dialog.c | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gnome-screenshot/gnome-screenshot.c b/gnome-screenshot/gnome-screenshot.c
index 47449e0..bc7429f 100644
--- a/gnome-screenshot/gnome-screenshot.c
+++ b/gnome-screenshot/gnome-screenshot.c
@@ -221,7 +221,7 @@ effect_combo_changed_cb (GtkComboBox *combo,
static gint
key_press_cb (GtkWidget* widget, GdkEventKey* event, gpointer data)
{
- if (event->keyval == GDK_F1)
+ if (event->keyval == GDK_KEY_F1)
{
display_help (GTK_WINDOW (widget));
return TRUE;
@@ -524,7 +524,6 @@ create_interactive_dialog (void)
create_screenshot_frame (main_vbox, _("Take Screenshot"));
create_effects_frame (main_vbox, _("Effects"));
- gtk_dialog_set_has_separator (GTK_DIALOG (retval), FALSE);
gtk_dialog_add_buttons (GTK_DIALOG (retval),
GTK_STOCK_HELP, GTK_RESPONSE_HELP,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
diff --git a/gnome-screenshot/gnome-screenshot.ui b/gnome-screenshot/gnome-screenshot.ui
index d0ccbaa..42aca77 100644
--- a/gnome-screenshot/gnome-screenshot.ui
+++ b/gnome-screenshot/gnome-screenshot.ui
@@ -14,7 +14,6 @@
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
- <property name="has_separator">False</property>
<signal handler="on_toplevel_key_press_event" last_modification_time="Thu, 21 Oct 2004 13:29:25 GMT" name="key_press_event"/>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox1">
diff --git a/gnome-screenshot/screenshot-dialog.c b/gnome-screenshot/screenshot-dialog.c
index 1327914..cf52b6d 100644
--- a/gnome-screenshot/screenshot-dialog.c
+++ b/gnome-screenshot/screenshot-dialog.c
@@ -55,7 +55,7 @@ static gboolean
on_toplevel_key_press_event (GtkWidget *widget,
GdkEventKey *key)
{
- if (key->keyval == GDK_F1)
+ if (key->keyval == GDK_KEY_F1)
{
gtk_dialog_response (GTK_DIALOG (widget), GTK_RESPONSE_HELP);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]