~v-geronimos/pama/0.2

« back to all changes in this revision

Viewing changes to src/pama-source-output-widget.c

  • Committer: Vassili Geronimos
  • Date: 2009-02-07 00:52:08 UTC
  • Revision ID: v.geronimos@gmail.com-20090207005208-b58rdfvmroozlk3j
* pama-applet.c: Disable the icons when the connection to the PulseAudio server is terminated, and re-enable them when a new connection is established

* pama-applet.c: Added missing code to close the source popup when the connection is closed

* pama-applet.c: Reworded the tooltips that show up when the applet has no information on the default sink or source

* pama-applet.c: Don't allow the sink or source popups to open when there is no active connection

* pama-sink-input-widget.c, pama-sink-widget.c, pama-source-output-widget.c, pama-source-widget.c:
  Added tooltips to the mute, set as default and move stream buttons

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
        gtk_box_pack_end(GTK_BOX(self), alignment, FALSE, FALSE, 0);
145
145
 
146
146
        source_button = gtk_button_new();
 
147
        gtk_widget_set_tooltip_text(GTK_WIDGET(source_button), _("Select which input device to use for this application"));
147
148
        gtk_container_add(GTK_CONTAINER(source_button), gtk_image_new_from_icon_name("audio-card", GTK_ICON_SIZE_MENU));
148
149
        gtk_container_add(GTK_CONTAINER(alignment), source_button);
149
150
        self->source_button = source_button;
150
151
 
151
152
        pama_source_output_widget_update_values(self);
152
153
 
153
 
        g_signal_connect(source_button, "clicked",       G_CALLBACK(pama_source_output_widget_source_button_clicked), self);
 
154
        g_signal_connect(source_button, "clicked", G_CALLBACK(pama_source_output_widget_source_button_clicked), self);
154
155
 
155
156
        self->source_output_notify_handler_id = g_signal_connect(self->source_output, "notify::source", G_CALLBACK(pama_source_output_widget_source_output_notify), self);
156
157