aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-10-13 17:06:45 +0100
committerConor Curran <conor.curran@canonical.com>2010-10-13 17:06:45 +0100
commit000862e2eae0d894e1f81df6b13c14d19f407d48 (patch)
tree570b388803a81eb25ae6957e35993065c65fbad6 /src
parent5a419e83132124e99b2112a6533ab018297bc19c (diff)
downloadayatana-indicator-sound-000862e2eae0d894e1f81df6b13c14d19f407d48.tar.gz
ayatana-indicator-sound-000862e2eae0d894e1f81df6b13c14d19f407d48.tar.bz2
ayatana-indicator-sound-000862e2eae0d894e1f81df6b13c14d19f407d48.zip
space for icon path in config
Diffstat (limited to 'src')
-rw-r--r--src/common-defs.h1
-rw-r--r--src/transport-widget.c18
2 files changed, 10 insertions, 9 deletions
diff --git a/src/common-defs.h b/src/common-defs.h
index e268aaa..27dfd32 100644
--- a/src/common-defs.h
+++ b/src/common-defs.h
@@ -41,6 +41,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define DBUSMENU_TITLE_MENUITEM_TYPE "x-canonical-sound-menu-player-title-type"
#define DBUSMENU_TITLE_MENUITEM_NAME "x-canonical-sound-menu-player-title-name"
+#define DBUSMENU_TITLE_MENUITEM_ICON "x-canonical-sound-menu-player-title-icon"
#define DBUSMENU_TITLE_MENUITEM_RUNNING "x-canonical-sound-menu-player-title-running"
#define DBUSMENU_SCRUB_MENUITEM_TYPE "x-canonical-sound-menu-player-scrub-type"
diff --git a/src/transport-widget.c b/src/transport-widget.c
index e7f0b4d..1f023a9 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -135,12 +135,12 @@ transport_widget_class_init (TransportWidgetClass *klass)
g_type_class_add_private (klass, sizeof (TransportWidgetPrivate));
- widget_class->button_press_event = transport_widget_button_press_event;
- widget_class->button_release_event = transport_widget_button_release_event;
+ widget_class->button_press_event = transport_widget_button_press_event;
+ widget_class->button_release_event = transport_widget_button_release_event;
widget_class->expose_event = transport_widget_expose;
gobject_class->dispose = transport_widget_dispose;
- gobject_class->finalize = transport_widget_finalize;
+ gobject_class->finalize = transport_widget_finalize;
}
static void
@@ -158,7 +158,7 @@ transport_widget_init (TransportWidget *self)
previous_list = g_list_insert(previous_list, GINT_TO_POINTER(5), 1);
previous_list = g_list_insert(previous_list, GINT_TO_POINTER(60), 2);
previous_list = g_list_insert(previous_list, GINT_TO_POINTER(34), 3);
- g_hash_table_insert(priv->command_coordinates,
+ g_hash_table_insert(priv->command_coordinates,
GINT_TO_POINTER(TRANSPORT_PREVIOUS),
previous_list);
@@ -182,11 +182,11 @@ transport_widget_init (TransportWidget *self)
GINT_TO_POINTER(TRANSPORT_NEXT),
next_list);
- gtk_widget_set_size_request(GTK_WIDGET(self), 200, 50);
- g_signal_connect (G_OBJECT(self),
- "notify::parent",
- G_CALLBACK (transport_widget_notify),
- NULL);
+ gtk_widget_set_size_request(GTK_WIDGET(self), 200, 43);
+ g_signal_connect (G_OBJECT(self),
+ "notify::parent",
+ G_CALLBACK (transport_widget_notify),
+ NULL);
}
static void