Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
droidcam
0001-Use-icon-installed-to-theme-directory.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Use-icon-installed-to-theme-directory.patch of Package droidcam
Index: droidcam-1.9.0/src/droidcam.c =================================================================== --- droidcam-1.9.0.orig/src/droidcam.c +++ droidcam-1.9.0/src/droidcam.c @@ -50,7 +50,7 @@ struct settings g_settings = {0}; extern const char *thread_cmd_val_str; extern char snd_device[32]; extern char v4l2_device[32]; -const char *APP_ICON_FILE = "/opt/droidcam-icon.png"; +const char *APP_ICON_NAME = "droidcam"; void * AudioThreadProc(void * args); void * VideoThreadProc(void * args); @@ -425,7 +425,7 @@ ERROR: // Example discussion: https://github.com/dino/dino/issues/98 #if 1 static void add_indicator(GtkWidget *window) { - AppIndicator *indicator = app_indicator_new("droidcam", APP_ICON_FILE, APP_INDICATOR_CATEGORY_APPLICATION_STATUS); + AppIndicator *indicator = app_indicator_new("droidcam", APP_ICON_NAME, APP_INDICATOR_CATEGORY_APPLICATION_STATUS); GtkWidget *menu = gtk_menu_new(); GtkWidget *name_menu_item = gtk_menu_item_new_with_label("Droidcam"); GtkWidget *show_menu_item = gtk_menu_item_new_with_label("Show"); @@ -473,7 +473,7 @@ int main(int argc, char *argv[]) gtk_window_set_resizable(GTK_WINDOW(window), FALSE); gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_NONE); gtk_container_set_border_width(GTK_CONTAINER(window), 4); - gtk_window_set_icon_from_file(GTK_WINDOW(window), APP_ICON_FILE, NULL); + gtk_window_set_icon_name(GTK_WINDOW(window), APP_ICON_NAME); // keyboard shortcuts gtk_accel = gtk_accel_group_new ();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor